/*?  @file   Light.h
 *?  @brief   create software to control light
 *?  
 *?  @author zanya@gmail.com
 *?  @date  2012.10.25
 */
#ifndef Light_H
#define Light_H
#include "hal_types.h"


/*?  @brief  initial Light
 *
 *?  
 *?  
 *?  @param none
 *?  @return  none
 */
void LightInit();


/*?  @brief  Light control.
 *
 *?  
 *?  @param  id : GPIO id
			 action : power 1-on/0-off
			 duty_cycle : 0~100
 *?  @return  none
 */
 
void Light_control(int id,int action,int duty_cycle)

/*?  @brief  Light get status.
 *
 *?  
 *?  
 *?  @param none 
 *?  @return  led status(1-on/0-off)
 */

int Light_getstatus()




#endif